<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<jsp:include page="includes/header.jsp" />

<html>
   <head>
     <title>Trade Maintenance</title>
   </head>
   <CENTER><H2><c:out value="${teamDetails.team.teamName}" /> Trade Maintenance</H2></CENTER>
 </html>
 <br>
 <br>
<CENTER><TABLE><TD valign="top" width=500>
<b>Create a trade advertisement</b>
</td>
<TD valign="top" width=500>
<b>Your Outstanding Trade Adverts</b>
</td>
<TD valign="top" width=500>
<b>Search for Trades</b>
</td>
<tr>
<td>
Select Player to Trade <select name="${teamDetails.players}" id="player" > 
<option value="0"></option> 
<c:forEach items="${teamDetails.players}" var="player">
<option value="1"><c:out value="${player.player.description}" /></option>
</c:forEach> 

</select> 
<br><br>
<b>Trade Criteria</b>
<br>
Player Status 1 <select>
<option value="0"></option> 
<option value="1">Level 1 Elite</option>
<option value="2">Level 1</option>
<option value="3">Level 2 Elite</option>
<option value="4">Level 2</option>	
<option value="5">Level 3 Elite</option>
<option value="6">Level 3</option>
<option value="7">Level 4 Elite</option>
<option value="8">Level 4</option>
<option value="9">Level 5</option>
</select>
<br>
Player Status 2 <select>
<option value="0"></option> 
<option value="1">Level 1 Elite</option>
<option value="2">Level 1</option>
<option value="3">Level 2 Elite</option>
<option value="4">Level 2</option>
<option value="5">Level 3 Elite</option>
<option value="6">Level 3</option>
<option value="7">Level 4 Elite</option>
<option value="8">Level 4</option>
<option value="9">Level 5</option>
</select>
<br>
Player Status 3 <select>
<option value="0"></option> 
<option value="1">Level 1 Elite</option>
<option value="2">Level 1</option>
<option value="3">Level 2 Elite</option>
<option value="4">Level 2</option>
<option value="5">Level 3 Elite</option>
<option value="6">Level 3</option>
<option value="7">Level 4 Elite</option>
<option value="8">Level 4</option>
<option value="9">Level 5</option>
</select>
<br>
Position Status 1 <select>
<option value="0"></option> 
<option value="1">FWD</option>
<option value="2">MID</option>
<option value="3">DEF</option>
<option value="4">RUCK</option>
</select><br>
Position Status 2 <select>
<option value="0"></option> 
<option value="1">FWD</option>
<option value="2">MID</option>
<option value="3">DEF</option>
<option value="4">RUCK</option>
</select>
<br>
Position Status 3 <select>
<option value="0"></option> 
<option value="1">FWD</option>
<option value="2">MID</option>
<option value="3">DEF</option>
<option value="4">RUCK</option>
</select>
<br>
Draft Pick 1 <select>
<option value="0"></option> 
<option value="1">First Round Pick</option>
<option value="2">Second Round Pick</option>
<option value="3">Third Round Pick</option>
<option value="4">Fourth Round Pick</option>
<option value="5">Fifth Round Pick</option>
</select>
<br>
Draft Pick 2 <select>
<option value="0"></option> 
<option value="1">First Round Pick</option>
<option value="2">Second Round Pick</option>
<option value="3">Third Round Pick</option>
<option value="4">Fourth Round Pick</option>
<option value="5">Fifth Round Pick</option>
</select>
<br>
Draft Pick 3 <select>
<option value="0"></option> 
<option value="1">First Round Pick</option>
<option value="2">Second Round Pick</option>
<option value="3">Third Round Pick</option>
<option value="4">Fourth Round Pick</option>
<option value="5">Fifth Round Pick</option>
</select>
<br>
<br>
<button type="button">Create Trade Advert</button> 
</td>

<td>
<select name="drop1" id="Select1" size="18" style="width:250px;">
    <option value="0"></option>
</select>
<br>
<br>
<button type="button">Delete Trade Advert</button> 
</td>
</table></CENTER>